using System;
using System.Collections.Generic;
using System.Text;
using NHibernate.Tool.hbm2ddl;

namespace App.Persistencia
{
    public class DataBaseUtils
    {
        public static void CrearBase()
        {
            SchemaExport exporter = new SchemaExport(FabricaSesiones.Instance.Cfg);

            exporter.Create(false, true);
        }

        public static void BorrarBase()
        {
            SchemaExport exporter = new SchemaExport(FabricaSesiones.Instance.Cfg);
            exporter.Drop(false, true);
        }

    }
}
